<?php
/* @var $this InstrumentElemController */
/* @var $model InstrumentElem */

$this->breadcrumbs=array(
    '大型仪器管理'=>array('admin'),
    $model->instrument->title=>array('view','id'=>$model->instrument->instrument_id),
    $model->asset_number,
);

$this->menu=array(
    array('label'=>'返回 '.$model->instrument->title, 'url'=>array('view','id'=>$model->instrument->instrument_id)),
	array('label'=>'录入仪器信息', 'url'=>array('createElem','iid'=>$model->instrument_id)),
    array('label'=>'更新当前仪器信息', 'url'=>array('updateElem', 'id'=>$model->elem_id)),
    array('label'=>'删除当前仪器信息', 'url'=>'#', 'linkOptions'=>array('submit'=>array('deleteElem','id'=>$model->elem_id),'confirm'=>'Are you sure you want to delete this item?')),
);
?>

<h1>仪器资产编号 # <?php echo $model->asset_number; ?></h1>
<p>当前仪器类：<?php echo $model->instrument->title?></p>
<?php $this->widget('zii.widgets.CDetailView', array(
    'data'=>$model,
    'attributes'=>array(
        'asset_number',
        'current_user',
        'frequency',
        'usedtime',
        array(
            'name'=>'status',
            'value'=>$model->getEnabledLable(),
        ),
    ),
)); ?>
